package cn.kgc.mapper;

import cn.kgc.dto.MalfunctionDto;
import cn.kgc.pojo.Malfunction;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 故障 Mapper 接口
 * </p>
 *
 * @author psq
 * @since 2021-08-05
 */
@Repository
public interface MalfunctionMapper extends BaseMapper<Malfunction> {

    List<MalfunctionDto> findSpecListByModelId(Long modelId);
}
